Theme: Program Counter & Branching

Create a new circuit by adding a program counter to the circuit (+instructionDecoder-2022Spring.circ) from last week

 

Task 1:  

Connect the Program Counter (PC) as in the circuit shown below. (Note: The pink ellipses indicate the new circuit part to be added in this week’s class.)

 

 

How to update the content of PC:

The initial value of the PC after it is cleared must be FFFF so that its value will become 0000 when the first positive clock edge occurs.

 

In our CPU design, the PC never counts.

Instead, it is constantly loaded on the rising clock edge with one of the various values shown in the following table.